using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataModels.Models
{
    [Table("SysSettings")]
    public partial class SysSetting
    {
        [Key]
        [StringLength(500)]
        public string SettingName { get; set; }

        [Required]
        [StringLength(1000)]
        public string SettingValue { get; set; }

        #region Constants
        /// <summary>
        /// Whether offline data saving for data capture is enable or not
        /// </summary>
        public const string SETTING_OFFLINE_DATA_SAVING_ENABLED = "SETTING_OFFLINE_DATA_SAVING_ENABLED";
        #endregion
    }
}
